projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
882effd
)
(command-line-1): Implement -scriptload.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Aug 2005 11:29:43 +0000
(11:29 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 9 Aug 2005 11:29:43 +0000
(11:29 +0000)
lisp/startup.el
patch
|
blob
|
history
diff --git
a/lisp/startup.el
b/lisp/startup.el
index 61b56e7babf8a0c5c5cff4b108ea1164fb99dcef..ca71ef4313787a5359cf03a006db70e4d5b4486e 100644
(file)
--- a/
lisp/startup.el
+++ b/
lisp/startup.el
@@
-1635,6
+1635,13
@@
normal otherwise."
(setq file file-ex))
(load file nil t)))
+ ((member argi '("-scriptload"))
+ (let* ((file (command-line-normalize-file-name
+ (or argval (pop command-line-args-left))))
+ ;; Take file from default dir.
+ (file-ex (expand-file-name file)))
+ (load file-ex nil t t)))
+
((equal argi "-insert")
(setq tem (or argval (pop command-line-args-left)))
(or (stringp tem)